package org.linlinjava.litemall.web.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.linlinjava.litemall.web.vo.OrderGoodsAddRequestVO;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 管理订单货物更换配件dto
 *
 * @author macmini
 * @date 2022/12/07
 */
@ApiModel("辅料替换DTO")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AdminOrderGoodsReplaceAccessoryDTO extends OrderGoodsAddRequestVO {

    private Integer orderGoodsId;
    @ApiModelProperty("执行:0执行替换 1执行复原")
    @Size(max = 0,min = 1)
    private Integer execute;

    @ApiModelProperty(value = "原辅料id")
    private Integer accessoryId;

    @ApiModelProperty(value = "替换辅料id")
    private Integer replaceAccessoryId;



}
